benchmarks: Add MarkupEver, https://awolverp.github.io/markupever/#48
Merged
EmilStenstrom merged 1 commit intoEmilStenstrom:mainfrom Mar 7, 2026
Merged
Conversation
Contributor
Author
|
@awolverp FYI! |
MarkupEver is based on the Rust html5ever library; it seems reasonably
correct and very fast, so well worth adding to the comparison.
Benchmark results on my system:
Parser Total (s) Mean (ms) Peak (MB) Delta (MB)
----------------------------------------------------------------------------------------------------
justhtml 4.161 8.323 146.6 101.7
html5lib 6.377 12.753 171.1 117.2 (1.53x slower)
lxml 0.346 0.692 65.0 21.3 (12.03x faster)
bs4 4.325 8.651 135.7 85.3 (1.04x slower)
html.parser 1.565 3.131 52.6 8.2 (2.66x faster)
selectolax 0.219 0.437 68.0 10.5 (19.04x faster)
gumbo 1.194 2.387 70.6 25.4 (3.49x faster)
markupever 0.435 0.870 64.9 21.0 (9.56x faster)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
ba89ad1 to
bbd8d38
Compare
Owner
|
@andersk Thanks! While the main point of this library is not to showcase "competitors", I think this is a nice addition :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MarkupEver is based on the Rust html5ever library; it seems reasonably correct (1652/1743) and very fast, so well worth adding to the comparison. Benchmark results on my system: